import { get, post } from '/src/utils/axios';
const API = {
  login : (data) => post('/back/login', data),
  //获取菜单即路由
  getMenus:()=>get('/back/sys/menu/nav'),

  //获取用户列表
  getUserList:(data)=>get('/back/sys/user/userList',data),

  //获取用户基本信息
  getUserBaseInfo:()=>get('/back/sys/user/userBaseInfo')
};

export default API;